import request from '@/utils/request'

// 配送-核心指标-累计未启运整车数
export function getDistributionNotShip(params) {
  return request({
    url: '/app/v1/logistics/distribution/core/notShip',
    method: 'get',
    params
  })
}

// 配送-核心指标-今日计划整车数
export function getDistributionTodayPlanArrive(params) {
  return request({
    url: '/app/v1/logistics/distribution/core/todayPlanArrive',
    method: 'get',
    params
  })
}

// 配送-核心指标-昨日到车整车数
export function getDistributionYesterdayArrive(params) {
  return request({
    url: '/app/v1/logistics/distribution/core/yesterdayArrive',
    method: 'get',
    params
  })
}

// 配送-核心指标-昨日启运整车数
export function getDistributionYesterdayShip(params) {
  return request({
    url: '/app/v1/logistics/distribution/core/yesterdayShip',
    method: 'get',
    params
  })
}

// 配送-线路运价比率分析
export function getFreightSalesAmountRateAnalyze(params) {
  return request({
    url: '/app/v1/logistics/distribution/freightSalesAmountRateAnalyze',
    method: 'get',
    params
  })
}

// 配送-发车量统计分析
export function getShipQuantityAnalyze(params) {
  return request({
    url: '/app/v1/logistics/distribution/shipQuantityAnalyze',
    method: 'get',
    params
  })
}

// 配送-未发车总量统计
export function getNotShipQuantityCurrent(params) {
  return request({
    url: '/app/v1/logistics/distribution/notShipQuantityCurrent',
    method: 'get',
    params
  })
}

// 配送-非整车发车情况统计
export function getNotCompleteCarStatistics(params) {
  return request({
    url: '/app/v1/logistics/distribution/NotCompleteCarStatistics',
    method: 'get',
    params
  })
}
